<!DOCTYPE html>
<html lang="zh">
<head>  
    <meta charset="UTF-8">
    <title>配置你的一言站点</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            font-size: 16px;
            line-height: 1.5;
            margin: 0;
            padding: 0;
        }
        h1 {
            text-align: center;
            margin-top: 50px;
        }
        form {
            margin: 0 auto;
            width: 500px;
            padding: 20px;
            background-color: #f2f2f2;
            border-radius: 10px;
        }
        label {
            display: block;
            margin-bottom: 10px;
        }
        input[type="text"], input[type="password"] {
            width: 100%;
            padding: 10px;
            border-radius: 5px;
            border: none;
            margin-bottom: 20px;
        }
        input[type="submit"], button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            /* 放在中间 */
            display: block;
            margin: 0 auto;
        }
        input[type="submit"]:hover, button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <h1>欢迎使用iaw-一言</h1>
    <form action="/init" method="post">
        <label for="admin_name">管理员用户名：</label>
        <input type="text" id="admin_name" name="admin_name" required>
        <br>
        <label for="admin_password">管理员密码：</label>
        <input type="password" id="admin_password" name="admin_password" required>
        <button type="submit">提交</button>
    </form>
</body>
</html>
